[INFO] cloning repository https://github.com/cibowang/lockfree_to_waitfree_lib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cibowang/lockfree_to_waitfree_lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcibowang%2Flockfree_to_waitfree_lib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcibowang%2Flockfree_to_waitfree_lib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 58102c0ebd2b20d179ad454af8424ea5ef1763c5
[INFO] fixing cibowang/lockfree_to_waitfree_lib against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcibowang%2Flockfree_to_waitfree_lib" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cibowang/lockfree_to_waitfree_lib
[INFO] finished tweaking git repo https://github.com/cibowang/lockfree_to_waitfree_lib
[INFO] tweaked toml for git repo https://github.com/cibowang/lockfree_to_waitfree_lib written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cibowang/lockfree_to_waitfree_lib on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cibowang/lockfree_to_waitfree_lib already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2c85046eeea440fc9dc5bfb4dfbf3fab146af4d31c9eef3268d0b7506e1c4bbc
[INFO] running `Command { std: "docker" "start" "2c85046eeea440fc9dc5bfb4dfbf3fab146af4d31c9eef3268d0b7506e1c4bbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2c85046eeea440fc9dc5bfb4dfbf3fab146af4d31c9eef3268d0b7506e1c4bbc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c85046eeea440fc9dc5bfb4dfbf3fab146af4d31c9eef3268d0b7506e1c4bbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2c85046eeea440fc9dc5bfb4dfbf3fab146af4d31c9eef3268d0b7506e1c4bbc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking lockfree_to_waitfree v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `fast` in this scope
[INFO] [stdout]    --> src/lib.rs:137:16
[INFO] [stdout]     |
[INFO] [stdout] 137 |             if fast {
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `updated_or` in this scope
[INFO] [stdout]    --> src/lib.rs:243:52
[INFO] [stdout]     |
[INFO] [stdout] 243 |                     let updated_or = Box::into_raw(updated_or);
[INFO] [stdout]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `fast` in this scope
[INFO] [stdout]    --> src/lib.rs:137:16
[INFO] [stdout]     |
[INFO] [stdout] 137 |             if fast {
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `updated_or` in this scope
[INFO] [stdout]    --> src/lib.rs:243:52
[INFO] [stdout]     |
[INFO] [stdout] 243 |                     let updated_or = Box::into_raw(updated_or);
[INFO] [stdout]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:150:41
[INFO] [stdout]     |
[INFO] [stdout] 150 |             let res = self.cas_executor(&cases, &mut contention);
[INFO] [stdout]     |                            ------------ ^^^^^^ expected `&...`, found `&Result<..., ...>`
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&<LFS as LockFreeSimulator>::CasDescriptors`
[INFO] [stdout]                found reference `&Result<<LFS as LockFreeSimulator>::CasDescriptors, Contention>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:119:8
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn cas_executor(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 120 |         &self,
[INFO] [stdout] 121 |         descriptors: &LFS::CasDescriptors,
[INFO] [stdout]     |         ---------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:154:46
[INFO] [stdout]     |
[INFO] [stdout] 154 |             match self.algorithm.cas_wrap_up(&cases, res, &mut contention) {
[INFO] [stdout]     |                                  ----------- ^^^^^^ expected `&...`, found `&Result<..., ...>`
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&<LFS as LockFreeSimulator>::CasDescriptors`
[INFO] [stdout]                found reference `&Result<<LFS as LockFreeSimulator>::CasDescriptors, Contention>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout]  49 |     fn cas_wrap_up(
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]  50 |         &self,
[INFO] [stdout]  51 |         perform: &Self::CasDescriptors,
[INFO] [stdout]     |         -------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:155:39
[INFO] [stdout]     |
[INFO] [stdout] 134 |     fn run(&mut self, op: LFS::Input) -> LFS::Output {
[INFO] [stdout]     |                                          ----------- expected `<LFS as LockFreeSimulator>::Output` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 155 |                 Ok(outcome) => return outcome,
[INFO] [stdout]     |                                       ^^^^^^^ expected associated type, found `Option<...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected associated type `<LFS as LockFreeSimulator>::Output`
[INFO] [stdout]                           found enum `Option<<LFS as LockFreeSimulator>::Output>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<<LFS as LockFreeSimulator>::Output>` value, panicking if the value is an `Option::None`
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 Ok(outcome) => return outcome.expect("REASON"),
[INFO] [stdout]     |                                              +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]    --> src/lib.rs:244:21
[INFO] [stdout]     |
[INFO] [stdout] 193 |               let updated_or = match &or.state {
[INFO] [stdout]     |                                --------------- `match` arms have incompatible types
[INFO] [stdout] ...
[INFO] [stdout] 206 | /                     Box::new(OperationRecord {
[INFO] [stdout] 207 | |                         owner: or.owner.clone(),
[INFO] [stdout] 208 | |                         state: OperationState::ExecCas(cas_list),
[INFO] [stdout] 209 | |                         input: or.input.clone(),
[INFO] [stdout] 210 | |                     })
[INFO] [stdout]     | |______________________- this is found to be of type `Box<OperationRecord<_>>`
[INFO] [stdout] ...
[INFO] [stdout] 214 | /                     Box::new(OperationRecord {
[INFO] [stdout] 215 | |                         owner: or.owner.clone(),
[INFO] [stdout] 216 | |                         state: OperationState::ExecCas(cas_list),
[INFO] [stdout] 217 | |                         input: or.input.clone(),
[INFO] [stdout] 218 | |                     })
[INFO] [stdout]     | |______________________- this is found to be of type `Box<OperationRecord<_>>`
[INFO] [stdout] ...
[INFO] [stdout] 244 | /                     if orb
[INFO] [stdout] 245 | |                         .val
[INFO] [stdout] 246 | |                         .compare_exchange_weak(
[INFO] [stdout] 247 | |                             or as *const OperationRecord<_> as *mut OperationRecord<_>,
[INFO] [stdout] ...   |
[INFO] [stdout] 254 | |                         let _ = unsafe { Box::from_raw(updated_or) };
[INFO] [stdout] 255 | |                     }
[INFO] [stdout]     | |_____________________^ expected `Box<OperationRecord<_>>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<OperationRecord<_>>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:150:41
[INFO] [stdout]     |
[INFO] [stdout] 150 |             let res = self.cas_executor(&cases, &mut contention);
[INFO] [stdout]     |                            ------------ ^^^^^^ expected `&...`, found `&Result<..., ...>`
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&<LFS as LockFreeSimulator>::CasDescriptors`
[INFO] [stdout]                found reference `&Result<<LFS as LockFreeSimulator>::CasDescriptors, Contention>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:119:8
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn cas_executor(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 120 |         &self,
[INFO] [stdout] 121 |         descriptors: &LFS::CasDescriptors,
[INFO] [stdout]     |         ---------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.state` which is behind a shared reference
[INFO] [stdout]   --> src/lib.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |             state: self.state,
[INFO] [stdout]    |                    ^^^^^^^^^^ move occurs because `self.state` has type `OperationState<LFS>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `OperationState<LFS>` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/lib.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub enum OperationState<LFS: LockFreeSimulator> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 82 |             state: self.state,
[INFO] [stdout]    |                    ---------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:154:46
[INFO] [stdout]     |
[INFO] [stdout] 154 |             match self.algorithm.cas_wrap_up(&cases, res, &mut contention) {
[INFO] [stdout]     |                                  ----------- ^^^^^^ expected `&...`, found `&Result<..., ...>`
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&<LFS as LockFreeSimulator>::CasDescriptors`
[INFO] [stdout]                found reference `&Result<<LFS as LockFreeSimulator>::CasDescriptors, Contention>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout]  49 |     fn cas_wrap_up(
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]  50 |         &self,
[INFO] [stdout]  51 |         perform: &Self::CasDescriptors,
[INFO] [stdout]     |         -------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:155:39
[INFO] [stdout]     |
[INFO] [stdout] 134 |     fn run(&mut self, op: LFS::Input) -> LFS::Output {
[INFO] [stdout]     |                                          ----------- expected `<LFS as LockFreeSimulator>::Output` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 155 |                 Ok(outcome) => return outcome,
[INFO] [stdout]     |                                       ^^^^^^^ expected associated type, found `Option<...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected associated type `<LFS as LockFreeSimulator>::Output`
[INFO] [stdout]                           found enum `Option<<LFS as LockFreeSimulator>::Output>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<<LFS as LockFreeSimulator>::Output>` value, panicking if the value is an `Option::None`
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 Ok(outcome) => return outcome.expect("REASON"),
[INFO] [stdout]     |                                              +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]    --> src/lib.rs:244:21
[INFO] [stdout]     |
[INFO] [stdout] 193 |               let updated_or = match &or.state {
[INFO] [stdout]     |                                --------------- `match` arms have incompatible types
[INFO] [stdout] ...
[INFO] [stdout] 206 | /                     Box::new(OperationRecord {
[INFO] [stdout] 207 | |                         owner: or.owner.clone(),
[INFO] [stdout] 208 | |                         state: OperationState::ExecCas(cas_list),
[INFO] [stdout] 209 | |                         input: or.input.clone(),
[INFO] [stdout] 210 | |                     })
[INFO] [stdout]     | |______________________- this is found to be of type `Box<OperationRecord<_>>`
[INFO] [stdout] ...
[INFO] [stdout] 214 | /                     Box::new(OperationRecord {
[INFO] [stdout] 215 | |                         owner: or.owner.clone(),
[INFO] [stdout] 216 | |                         state: OperationState::ExecCas(cas_list),
[INFO] [stdout] 217 | |                         input: or.input.clone(),
[INFO] [stdout] 218 | |                     })
[INFO] [stdout]     | |______________________- this is found to be of type `Box<OperationRecord<_>>`
[INFO] [stdout] ...
[INFO] [stdout] 244 | /                     if orb
[INFO] [stdout] 245 | |                         .val
[INFO] [stdout] 246 | |                         .compare_exchange_weak(
[INFO] [stdout] 247 | |                             or as *const OperationRecord<_> as *mut OperationRecord<_>,
[INFO] [stdout] ...   |
[INFO] [stdout] 254 | |                         let _ = unsafe { Box::from_raw(updated_or) };
[INFO] [stdout] 255 | |                     }
[INFO] [stdout]     | |_____________________^ expected `Box<OperationRecord<_>>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<OperationRecord<_>>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.state` which is behind a shared reference
[INFO] [stdout]   --> src/lib.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |             state: self.state,
[INFO] [stdout]    |                    ^^^^^^^^^^ move occurs because `self.state` has type `OperationState<LFS>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `OperationState<LFS>` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/lib.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub enum OperationState<LFS: LockFreeSimulator> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 82 |             state: self.state,
[INFO] [stdout]    |                    ---------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lockfree_to_waitfree` (lib test) due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lockfree_to_waitfree` (lib) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "2c85046eeea440fc9dc5bfb4dfbf3fab146af4d31c9eef3268d0b7506e1c4bbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c85046eeea440fc9dc5bfb4dfbf3fab146af4d31c9eef3268d0b7506e1c4bbc", kill_on_drop: false }`
[INFO] [stdout] 2c85046eeea440fc9dc5bfb4dfbf3fab146af4d31c9eef3268d0b7506e1c4bbc
